using Microsoft.EntityFrameworkCore;

namespace OrderApi.Models
{
    public class OrderContext : DbContext
    {
        public OrderContext(DbContextOptions<OrderContext> options)
         : base(options)
        {
         this.Database.EnsureCreated();
        }

        public DbSet<Order> orders { get; set; } = null;
    }
}